#include <iostream>
#include "homework.h"

int main (int argc, char* argv[]){
    int arr[5]={3, 7, 5, 2, 0};
    LinkedList<int> a;
    for(int i=0;i<5;i++)
    a.insert(arr[i]);
    a.list();
    std::cout<<a.find(5)->get_data()<<std::endl;
    a.delnext(a.find(2));
    a.list();
    a.pop_front();
    a.list();
    return 0;
}